package com.ruan.service;

import com.ruan.dao.GoodsMapper;
import com.ruan.pojo.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ClassName:GoodsService
 * @Author:阮昇
 * @Description:
 * @Datetime: 2023/6/19 19:19
 **/
@Service
public class GoodsService {

    @Autowired
    private GoodsMapper goodsMapper;
    public Goods getGoodsById(Integer id) {
        return goodsMapper.getGoodsById(id);
    }
}
